package com.ice.body.rpc.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by GuoYanBin.
 * Description:称重记录
 * Create Time: 2022-10-18 03:01
 */
@Component
@Data
public class WeighLog implements Serializable {

    private Integer id;

    @ApiModelProperty(value ="柜子编号",position = 0)
    private String cabNo;

    @ApiModelProperty(value ="编号",position = 0)
    private String serialNo;

    @ApiModelProperty(value ="称重人id",position = 0)
    private Integer userId;

    @ApiModelProperty(value ="称重人",position = 0)
    private String userName;

    @ApiModelProperty(value ="所属公司部门",position = 1)
    private Long deptId;

    @ApiModelProperty(value ="公司名称",position = 2)
    private String companyName;

    @ApiModelProperty(value ="epc编码",position = 3)
    private String epcCode;

    @ApiModelProperty(value ="重量(克)",position = 4)
    private Double weight;

    @ApiModelProperty(value ="验证类型 1刷卡还是,2刷脸等等",position = 5)
    private Integer validType;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
